package com.google.code.sip.ucenter.model;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Reference;

/**
 * 积分规则对应到积分类型的值的实体类
 * 
 * @author Liuye
 * 
 */
@Embedded
public class CreditRuleAmount {
	/**
	 * 积分类型
	 */
	@Reference
	private CreditType creditType;

	/**
	 * 积分值
	 */
	private Integer amout;

	public CreditType getCreditType() {
		return creditType;
	}

	public void setCreditType(CreditType creditType) {
		this.creditType = creditType;
	}

	public Integer getAmout() {
		return amout;
	}

	public void setAmout(Integer amout) {
		this.amout = amout;
	}

}
